package com.trevor.services;

import com.trevor.domain.User;
import com.trevor.utils.SqlUtil;

public class PostService {
	public boolean postComment(User u,String mes){
		SqlUtil su=new SqlUtil();
		String paras[]={u.getUserId(),mes};
		String sql="insert into comments1 values(?,?,now());";
		return su.insertItem(sql,paras );
	}
}
